package com.hopu.service;

import com.hopu.domain.ExtCproductC;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

public interface ExtCproductCService {

    //级联删除，删除某个货物下的所有附件

    List<ExtCproductC> findAll(String extCproductId);

    ExtCproductC selectByPrimaryKey(String extCproductId);

    int insert(ExtCproductC record);


    int updateByPrimaryKey(ExtCproductC record);


    int deleteByPrimaryKey(String extCproductId);

    List<ExtCproductC> selectByExample();

    int deleteByContractProductById(@Param("contractProductId") String[] contractProductId);
}
